<template>
	<view>
		<u-empty v-if="list.length==0"></u-empty>
		<view class="" style="wdith: 100%;" v-else>
			<Shop @handLook='handLook(item)' v-for="(item,index) in list" :item='item' :key='index'></Shop>
			<u-loadmore :status="status" />
		</view>
	</view>
</template>

<script>
	import initData from '@/mixin/initData.js'
	import Shop from '@/components/ZY-shop/ZY-shop.vue'
	export default {
		mixins: [initData],
		components: {
			Shop
		},
		data() {
			return {

			};
		},
		onLoad() {
			this.miXinInit()
		},
		methods: {
			beforeInit() {
				this.apiUrl = "appUser/myFollowAppBusiness";
				let params = {
					pageNum: this.pageNum,
					pageSize: this.pageSize,
				};

				this.params = {
					...params
				};
			},
			handLook(item) {
				uni.navigateTo({
					url: '/pages/shopDetail/shopDetail?id=' + item.id
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
